package com.ruoyi.gis.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 遥感监测任务对象 dataset_raster_task
 *
 * @author rww
 * @date 2024-09-20
 */
public class DatasetRasterTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;


    /** id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    private String taskOutName;//

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;
    public static Integer status_saved = 10;//保存未执行
    public static Integer status_published = 20;// 执行中
    /** 模型id */
    @Excel(name = "模型id")
    private Long modelId;

    /** 版本id */
    @Excel(name = "版本id")
    private Long modelVersionId;

    /** 业务模块id */
    @Excel(name = "业务模块id")
    private Long moduleId;

    /** 模块网络结构id */
    @Excel(name = "模块网络结构id")
    private Long moduleNetId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 任务流程 */
    @Excel(name = "任务流程")
    private Long currentStageId;
    private String flowName;
    private Long flowId;//flow_id
    private String bitmap;

    private String mode;//
    private String scriptCode;//script_code

    //////////////////////////////////////////////////////


    public String getScriptCode() {
        return scriptCode;
    }

    public void setScriptCode(String scriptCode) {
        this.scriptCode = scriptCode;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getBitmap() {
        return bitmap;
    }

    public void setBitmap(String bitmap) {
        this.bitmap = bitmap;
    }

    public Long getFlowId() {
        return flowId;
    }

    public void setFlowId(Long flowId) {
        this.flowId = flowId;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }

    public String getTaskOutName() {
        return taskOutName;
    }

    public void setTaskOutName(String taskOutName) {
        this.taskOutName = taskOutName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId()
    {
        return modelId;
    }
    public void setModelVersionId(Long modelVersionId)
    {
        this.modelVersionId = modelVersionId;
    }

    public Long getModelVersionId()
    {
        return modelVersionId;
    }
    public void setModuleId(Long moduleId)
    {
        this.moduleId = moduleId;
    }

    public Long getModuleId()
    {
        return moduleId;
    }
    public void setModuleNetId(Long moduleNetId)
    {
        this.moduleNetId = moduleNetId;
    }

    public Long getModuleNetId()
    {
        return moduleNetId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setCurrentStageId(Long currentStageId)
    {
        this.currentStageId = currentStageId;
    }

    public Long getCurrentStageId()
    {
        return currentStageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("modelId", getModelId())
            .append("modelVersionId", getModelVersionId())
            .append("moduleId", getModuleId())
            .append("moduleNetId", getModuleNetId())
            .append("userId", getUserId())
            .append("currentStageId", getCurrentStageId())
            .toString();
    }
}
